#!usr/bin/bash

while :; do ps -axj | head -1 && ps -axj | grep code | grep -v grep | grep -v ps_while_code.sh; echo "------------------------------------------------------------------"; sleep 1; done
